package com.by.remote.system;

import com.by.common.core.bean.ResultBean;
import com.by.query.StreamQuery;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 直播api
 */
@FeignClient("we-sales")

public interface StreamRemote {
    /**
     * 根据状态查找直播列表 status可为空
     * @param query
     * @return
     */
    @PostMapping("/queryList")
    public ResultBean query(@RequestBody StreamQuery query);
}
